home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9207.ARJ / 1007089A < prev    next >
Text File  |  1992-06-03  |  445b  |  24 lines

  1.  
  2. main()
  3.         {
  4.         int c;
  5.         
  6.         while (c = nextsp())
  7.                 putchar(c);
  8.         while (c = nextap())
  9.                 putchar(c);
  10.                 
  11.         }
  12.  
  13. nextsp()
  14.         {
  15.         static char *p = "This string will be shown from the beginning to the end";
  16.         return *p++;
  17.         }
  18.  
  19. nextap()
  20.         {
  21.         char *p = "This string will never be shown";
  22.         return *p++;
  23.         }
  24.